package org.jeecg.modules.manager.service;

import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.modules.manager.entity.OrderGroupPurVo;
import org.jeecg.modules.manager.entity.PurchaseOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.manager.entity.PuroQueryByIdVo;

import java.util.List;

/**
 * @Description: 采购订单表
 * @Author: jeecg-boot
 * @Date:   2021-11-19
 * @Version: V1.0
 */
public interface IPurchaseOrderService extends IService<PurchaseOrder> {
    int addOrEdit(OrderGroupPurVo orderGroup, LoginUser loginUser);
    int removeAllById(String id,LoginUser cur);
    List<PuroQueryByIdVo> getPuroById(String id);
    int includeStock(String id,LoginUser loginUser);
    String removeOrderById(String id,LoginUser cur);
}
